package net.ak;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.datatype.hibernate4.Hibernate4Module;

/**
 * Add-on module for Jackson JSON processor which handles Hibernate datatypes; 
 * and specifically aspects of lazy-loading
 * @author Crash Override
 *
 */
public class HibernateAwareObjectMapper extends ObjectMapper {
	
	private static final long serialVersionUID = 1L;
	
	public HibernateAwareObjectMapper() {
        registerModule(new Hibernate4Module());
    }

}
